		
<#if attrList?exists ||  brandList?exists >
<table  class="form-table">
<tr>
	<th>计价单位：</th>
	<td><input name="goods.unit" value="${goods.unit!''}" /></td>
</tr>
<#if brandList?exists >
<tr id="brand_tr">
	<th>
		品牌：
	</th>
	<td id="brand_id_td">
		<select name="goods.brand_id" id="brand_id" >
			<option value="">请选择</option>
			<#list brandList as brand>
				<option value="${brand.brand_id }" <#if goods.brand_id?exists && goods.brand_id= brand.brand_id>selected="true"</#if> >
					${brand.name }
				</option>
			</#list>
		</select>
	</td>
</tr>
</#if>

<#if attrList?exists >
	<#list attrList as attr>
		<input type="hidden" name="propnames" value="${attr.name }" />
		<tr>
			<th>
				${attr.name } ：
			</th>
			<td>
			
				<#if attr.type<3 >
				   <input type="text" name="propvalues" class="input_text"  value="${ attr.value}" style="width:150px" <#if attr.datatype?exists && attr.datatype!=''>dataType="${attr.datatype}"</#if> <#if attr.required==1>isrequired="true"</#if> />${attr.unit!''}
				</#if>
				
				<#if (attr.type>=3) && (attr.type<=5)>
					<select name="propvalues" <#if attr.datatype?exists && attr.datatype!=''>dataType="${attr.datatype}"</#if>  <#if attr.required==1>isrequired="true"</#if>>
						<option value="">
							请选择
						</option>
						<#list attr.optionAr as option>
							<option value="${option_index }" <#if attr.value==(""+option_index)>selected</#if> >
								${option }
							</option>
						</#list>
					</select>${attr.unit!''}
				</#if>
				
			</td>
		</tr>
	 </#list>
</#if>

</table>
<#else>
该类型未字义属性或品牌
</#if>